import Guide from '~/components/layout/guide'
import Snippet from '~/components/snippet'
import Caption from '~/components/text/caption'
import Link from '~/components/text/link'
import { Image } from '~/components/media'
import DeploySection from '~/components/guides/deploy-section'

export const meta = {
  title: 'Deploy Hexo with ZEIT Now',
  description: 'Create a Hexo blog and deploy it live with ZEIT Now.',
  published: '2019-10-31T12:00:00.860Z',
  authors: ['msweeneydev'],
  url: '/guides/deploying-hexo-with-zeit-now',
  example: 'hexo',
  demo: 'https://hexo.now-examples.now.sh',
  image:
    'https://og-image.now.sh/**Deploy%20Hexo%20Blogs**%20%3Cbr%2F%3E%20with%20ZEIT%20Now.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.zeit.co%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fzeit-black-triangle.svg&images=https%3A%2F%2Fwww.stickpng.com%2Fassets%2Fimages%2F5848087ecef1014c0b5e48eb.png&widths=300&widths=300&heights=300&heights=300',
  editUrl: 'pages/guides/deploying-hexo-with-zeit-now.mdx',
  name: 'Hexo',
  type: 'site',
  lastEdited: '2020-02-04T12:49:00.000Z'
}

[Hexo](https://hexo.io/) is a fast, simple, and powerful blog framework powered by Node.js.

## Step 1: Set Up Your Hexo Project

Set up a Hexo blog with [`npx`](https://www.npmjs.com/package/npx) and move into the project directory:

<Snippet dark text="npx hexo init my-hexo-blog && cd my-hexo-blog" />
<Caption>Initializing a Hexo blog with <Link href="https://www.npmjs.com/package/npx">npx</Link> and moving into the project directory.</Caption>

## Step 2: Deploying Your Hexo Blog with ZEIT Now

<DeploySection meta={meta} />

export default ({ children }) => <Guide meta={meta}>{children}</Guide>

export const config = {
  amp: 'hybrid'
}
